<?php
namespace app\admin\controller;
use think\captcha\Captcha;

class Login
{
    public function index ()
    {

        return view('/login');
    }
    // 生成验证码图片
    public function yzm()
    {
        $captcha = new Captcha();
        return $captcha->entry();
    }

}
